<html>
  <head>
    <link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
  </head>
  <body>
  <h1>Hello, world! </h1>
  <h2>Total is {{ count }}.</h2>
    {% for tt in test %}
      {% if tt.owner %}
        <b>{{ tt.owner.nickname }} {{ tt.owner.email }} testing:</b>
      {% else %}
        <b>An anonymous person testing:</b>
      {% endif %}
      <blockquote>{{ tt.id|escape }}</blockquote>
      <blockquote>{{ tt.name|escape }}</blockquote>
      <blockquote>{{ tt.date|escape }}</blockquote>
    {% endfor %}

    <form action="/test/add" method="post">
      <div>Start name: <input name="name"></input></div>
      <div>Total number: <input name="total"></input></div>
      <div><input type="submit" value="Add testing"></div>
    </form>

    <a href="{{ url }}">{{ url_linktext }}</a>

  </body>
</html>
